|
<DIV id=list>
) `. f9 p) Q4 S: N; j<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>! g" U+ f A2 i& Y
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
& ?1 k- c& s6 |0 L8 O9 `- i* d<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
, \% A3 h0 Y& f; c( R- c" W* {<DIV id=lrc3 style="COLOR: #666666"></DIV>: l2 K+ P3 O* _9 x, n3 {
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
: v/ p( x( R8 Z# m' f; e<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>2 ?% r9 j: U+ k
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>; B. v! a/ i" q! h, |& T! @
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
& k. x7 ~' x! O, V- S+ B5 x! |<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>( k4 w/ R/ X) n6 M) T, d$ p) Z
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>% b9 a2 a! Y( d% T8 O% j
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
' D$ [; T; V1 h# H3 Q* G) i0 a f<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
, S& ?) G+ \2 ]/ r& O<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>6 h5 C' q/ D! x
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
; y: G! Z4 \' I' \- S. o+ l<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>$ R# v" l( `' |2 |1 w& {8 Z3 T+ r
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>& x& v: @1 y9 T# a( N2 F' l
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>3 H# ?( t+ |% l- l, S6 L5 ~
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV># p2 Z( b; L" v, w
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>3 U, n7 b H$ i+ h+ k
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
0 I6 R) W$ J2 |( A/ {<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
" E7 ^- j1 j4 a g. W; y<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>4 Q1 \' A$ a/ }4 u
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>2 v6 F1 W. x+ O: L: j0 G1 @: [
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>4 i% r6 Y n" L& f4 i
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>) p8 s! f4 B9 l3 U1 r, L
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
1 ]3 ~6 d H+ b% R6 f' j<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
% ]) ^% \# y6 p$ D0 C7 o1 V<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ M3 b8 O- x ]: r$ E5 B3 S
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
3 u1 X0 I8 d7 y2 b! n$ G' @$ |<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>3 ^5 A: j% N! A* f5 K: J' R% _
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
; n9 g9 T5 Z5 M* |1 [<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
: S6 _ t9 T: k7 [. U<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
) s0 A0 F% m @) N, D' S<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>; g1 N6 P0 X7 m, w0 U
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
4 Y( x7 h# g1 {- h<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
' D5 f5 G) a/ O# V<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>9 K L I2 j. `% ?. M
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>) u& L4 [' V! @# {+ U5 E
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>7 B# _4 {6 {3 C5 V
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>; N+ f9 S* G% {; b6 Y
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>, R6 f' Q7 E+ I( N2 J+ f: ]" ?& M
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>0 u% a# z/ E, u E
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>* \+ c7 B/ ?) H; ]2 a4 ]! t
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>8 M5 s- g/ s( f& X
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
: k) ^- V' ]8 ~<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>1 p7 M0 T/ D% |! r
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
, S- [4 P7 X3 H/ Z<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>; s5 { L- E* o% e- b8 ]: K- O
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
, u0 c* F& ]* _. h* @) v0 ~1 Z$ [<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>* n/ u$ f8 F+ Y5 L
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
& }2 Q- p* d9 d6 Q<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
h2 G; j6 E- g, `# I& Z6 Q/ }<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>2 w) P7 E: Y! H4 F5 d, ]; B
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ) s: y; ]. D: Y8 y& |3 P1 t/ p
<DIV id=lrc style="DISPLAY: none"></DIV>0 Y: ` {: ^ r U- u; | S) ?
<SCRIPT type=text/javascript>
+ @5 Y" S6 r1 w( Y+ S( o* @! mdocument.domain="1ting.com";& Y: k. h) q0 Z" a
var colorPasted="#666666";7 U& v( z& ?* B$ K
var colorPlaying="#ff3300";7 L; w' y8 s+ V2 I0 U
var colorNormal="#000000";
- X4 C. J' Q( r' K$ = function (a,g){+ n) l! p& \9 p6 [& H% F3 M
var o = new Array(); $ U" \! T+ a5 h# P- p
var c = new Array(); * Y, d$ _3 ?# g
var r; 7 Z1 Z4 n1 {& O0 S8 h
var u;
' }( o$ x9 l/ B0 r M var a = a.split(';'); ! A8 }* C- P4 s }
8 F! [* z+ p. w: j9 K0 R6 v- l% T
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");7 y7 a: c2 ?, |9 b4 u
for(var i=0;i<e.length;i++){
2 |7 n- M, s! \& a' c; t Z9 { eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
0 e" V! n# k# w2 i6 Y2 q g7 x }
& R: g4 Y& m$ d3 x! A, K# F, [# p' h! q% m
after = function (t,d,s){6 o [& \& |9 X# x& M' l7 F4 o1 a
$after = function (){
* x7 I5 D2 u! ^+ e& u1 J var $n=document.createElement(t);' J( G4 V# O9 y# p' _2 P
if(d!=null){8 n" H, J7 s1 g' X/ r
$n.id=d;
% G% d; y6 P; J: v; m+ \2 K { }" u1 s2 v8 @7 g0 l
! u# n- a/ B5 z6 R% D
u.insertBefore($n,null) ' b" S2 L; K$ R$ a! K
r = $n; % Z5 X4 c x4 l J b# s
u = $n; 6 s- p, x+ ?3 J$ Y0 \! D# N
}4 y' ^ R7 {5 S+ ?6 W
$for(s,"$after"); a/ I. s7 b, k' \
}1 E. ?* z! A P* z, ]
B: |: h3 r5 j& l( B show = function (s){
" V1 i! V+ p" x T J% D# \. d $show = function (){9 `7 f$ [4 w" P( d( c; j$ [) i) D
u.style.display!="none" ? style("display:none") : style("display:block") ;) O0 W$ {8 ^+ m$ v& h3 y& @3 p
} w, y i3 @6 K2 c) ]+ ], Y- K& L
$for(s,"$show")4 K) s8 `# Q0 \+ L" \0 I$ o# F
}
; U( Z! n6 V- i0 v, \9 x+ J, Z" d! V4 z Z/ c1 l y+ x; X+ ^
check = function (t,s){
) H4 |9 R% E6 b+ o) |% A% X* M/ J" ^ $check = function (){
& e& `% O/ }* o1 d2 E5 ? if(t=="2"){" `6 o, P# C' ~* U$ z, J4 u4 d6 E4 W; K
if(u.checked){! i5 |* b* n0 _& D! A! h
u.checked = false;/ r8 f5 ]4 X# ~6 ` ^6 ]
}else{
+ ]' y/ N% {) u, H# R5 C3 B$ y N u.checked = true;! l$ ?! d+ l$ z# r. }$ z* T
}% r8 V) c' u; ^( b9 d
}else{
( Q. S: ^7 B$ C/ t, u+ y- l% v u.checked = t*1 ;
4 D3 w" C' A+ V4 g }4 ^7 E8 T* c* V3 h1 u# ^
}
G* k& E$ N- q3 {0 J $for(s,"$check")! N" D9 _! o; a; s9 [: K5 l* p
}
9 F3 Y) R2 O7 I! ^- n' d* ~! V
+ s' R1 V( x( y9 w& w! Z+ a style = function (v,s){
; z; Q& x8 b, m& X $style = function (){
2 S& x4 b9 M$ f' N! y0 w$ J0 H var $n = v.split(",")
/ l$ _- R) b0 v- E for (var i=0;i<$n.length;i++ ){
7 S* l# [7 L9 K, D) b var $m = $n<i>.split(":")
# ?' d( }. S. v+ ~+ N! b5 ?4 m eval("u.style."+$m[0]+"='"+$m[1]+"'");% Q! z4 m# R9 i
}
. q! ~: A& [- K6 C% w }
7 N x* w$ ~ j9 R" Z $for(s,"$style")
( r1 f" ~0 m T. t3 @ } @4 H7 Q, E( n$ }0 J$ Z! `2 f
* m+ u; m. A- M5 V7 m3 r
value = function (v,s){
6 _0 \ d; e5 o0 H3 I' [& k( l3 C var $n= $this (v);
: l- D$ m+ }# _& F $value = function (){5 r' C6 P' A7 \
u.value = $n3 T* k& i- n" [' C' G M! d9 f" S
}
/ B& Y/ }) X" z+ Z; y% O7 q $for(s,"$value")
3 h) C h4 N0 R }
( ^) x6 ^* `2 e$ ^- V- j3 x1 x7 _5 M$ e9 B/ |( [/ D2 [& x5 w
text = function (v,s){( o0 c ^2 U/ h% J; E: e, }4 i
var $n= $this (v);
- C- G8 ]( }( _6 p5 p6 b $text = function (){6 W+ j' f- l: b: Z& p
7 ~5 q9 V9 i0 \. g# L& k! T2 U; Z u.text = $n
' @( t0 p0 H& ~; L, _5 m' { }
% V3 U* F' b0 J% S" y, ?9 I! E $for(s,"$text") & W' A+ ?7 P- |( m0 [5 `. i l
}
5 Y6 }) T, d$ x4 L& w) o; W1 m5 a! a c: r
innerhtml = function (v,s){
% n M& E! ^' t7 N( _ var $n= $this (v);: m; A) g- g8 m- n" S
$innerhtml = function (){/ @3 ~& Q/ i) V- q
u.innerHTML = $n" A6 y% O ^; W0 q
}. ?8 s( i, E& T. E$ p
$for(s,"$innerhtml")/ T8 a9 ]4 x9 A( A) `: u
}# T; o2 S, _% }
" d4 H( R3 z6 T' A$ P- m( Q, ?
removechild = function (s){
' s; Q% X: r% T+ s: f% s $removechild = function (){
7 A5 v/ z4 k6 s/ J, c7 D u.parentNode.removeChild(u)
D" @! ~( ?# ~* p: d- | }7 {# V9 a$ g3 g! ]% U
$for(s,"$removechild")
+ m' H% t7 |8 t/ K1 J. u* ? }
# _' j, b- i1 w+ w* S, G( ?) \6 b( {9 I/ ?4 h
$this =function(v){
: i7 K! f" |; }+ Z3 _ if(v.indexOf("this") == 0){! E5 j7 O+ W, x1 }8 I7 d) c; s, N
return eval(v.replace("this","u"))
, t7 Q: a. T- A+ s }
# s' j7 i- G( H- `. U* ~9 l return v;
; E3 w9 O) n5 y4 z& e }" z' X; i) l6 D( |8 q
' O& E, x* I6 n6 l1 v, g. `
$event = function (s){$ }( q! Y4 n# z0 p! A5 p4 ?6 \
var $n ="u."+s+" = function(){$work(this,s);}"
# e6 j6 J6 w: \# t4 A return $n;
1 m% b6 V. H, k! v; k- e$ i }
" L4 G8 B4 y" i, ]$ M
6 a8 ?7 L0 I7 w $replace = function (s){
% l9 F9 X( V4 d; E7 u
: Z# K/ u+ q% e: f; l' J; p }2 J3 F& Q _' Y* a
/ l% P- Q1 @: ^: h5 p7 v0 G. I
$for = function (s,c){
! w0 `9 ]$ n- E3 L- J- \; \ var $n="this."+c+"()" ;
% d2 Q( y4 w7 K, [$ z if(s!=null){
8 R3 ~6 R4 l5 p var $m =$test(s);
- ~% O. Z+ j4 J- m# v8 y* D for (var i=0;i<$m.length ;i++ ){7 q+ [) ?; y" Y1 H: x* {0 A* L
u = $m<i>;/ {; T: s. V1 ~! C
eval($n);
- F; l2 X0 S( k9 {5 q/ {# | }
5 w& u$ W/ h' M+ z }
7 a: _+ O, G. [. _) p else{5 G5 A; g5 r5 _$ h
eval($n);! R. Q6 ]4 L( ?! E$ A* H9 h, ^
}# N( k E* k8 Q. a- z3 U4 Q
}
- t/ z1 d( v$ \1 Q! Y3 F- V
3 c+ ]" i4 K$ y g! ` $test = function (a){) Y( O8 x: a7 l& T0 Y
var o = new Array();$o(a.split(';'),o);+ G* H( H0 w8 d& ]. z
return o;
$ x3 q9 b" C4 H2 U7 T' P& g8 C: H }
4 K- T3 C4 w5 A Q0 o u1 N. W' w2 G, ]4 H. Z8 Y4 o
$format = function(s){
- C" r- }6 m: \/ r( K- s# U7 X while (s.indexOf("'")>0){
0 y3 G" }& }* \6 O6 a s=s.replace("'","\"");
5 b G9 r9 C1 M0 l; A- t {0 s }0 I& f1 ~# h& m, z- R- ^, f' |7 c
while (s.indexOf("][")>0){
* e6 a2 B4 @6 b" K$ s- d$ d2 O7 N7 s! a s=s.replace("][","','")
; K. G; F. _) x, v$ N1 Y }
& k2 Q" h' a }8 a while (s.indexOf("[")>0){# q& a& u0 @4 R
s=s.replace("[","'").replace("]","'")& p/ {; i8 o0 Y; S
}
% M; O4 B8 O) l" h! ?8 ]7 ]' W1 Y return s;
% [% l3 J7 Z/ p! u }
2 Y0 k/ P: @: _% V. k1 R r8 Z* \/ N) l
$work = function(w,s){
% ~) M+ h* S3 V7 m8 x6 O/ v- n u=w;eval(s)% t4 F4 I% f7 L, s- p, t
} l* q8 `2 f* z6 V3 T
0 b' z, p# M; W5 A I
$id = function (s){. y3 ^9 @* w( G) w- f
return document.getElementById(s);
$ k0 M; v+ S5 L: g }; x; ?" }, |0 S3 |; ^2 E( C
- t7 h" U! }- b$ S, _* [+ t $name = function (s){. @: ~: S0 R% C, Z
return document.getElementsByName(s);
; s2 m7 d; ]3 w }
0 ~: Y3 A2 A: ^$ b
$ f& W1 A8 R1 ]4 w $tagname = function (s){
' E' x2 l$ Q: P4 l0 B7 y, t2 X return document.getElementsByTagName(s);" R6 \ z# [3 E2 S
}
0 ?* ]# T$ r/ E4 h/ l2 g3 f
. L2 z/ x$ j2 D% [% E $o = function (a,o,c){' ^- @4 M: H( [7 w' R" f) e( Y0 T8 S
$push = function (n) {
, B) z) T) g' F4 _) A% W) z1 R for (var i=0;i< n.length;i++ ){
; t ~ T j$ ~& D o.push(n<i>);+ o6 W- I; F" V7 x; T- V
}
5 L* ?7 L* G" N0 y3 q$ W, y }
7 x! |; c0 Q2 G- w$ } for(var i=0;i<a.length;i++){
! O# f0 V, Z! Q) o- y, M W* n if(a<i>.indexOf("(") >= 0){
4 K. ~8 `( M, D( S+ N& f c.push(a<i>);
. \. [4 c5 C- n7 B# f( P& y% q" ?- c* p }
- H" W8 y; x' ?6 ]( ~/ c if(a<i>.indexOf("~") > 0){/ V. Q8 p* r4 U# A4 j
try {6 W. A# D q( v
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
* ^2 m) B0 ?; B& u" o/ s9 W }catch(e)' J5 \6 W$ ] m, w! w2 P
{}
Z5 F& ]! O; p$ D, t }
; Z1 t3 @$ F8 r2 G+ @ else{
. ?& l" Q5 C7 d" Z: U/ Q, V if(a<i>.indexOf("#")==0){
% P7 j% R) D( M! x L9 A o.push($id(a<i>.replace("#","")));1 E9 |8 H: c b$ q4 K; c% q; m
}& }+ B: v6 G! j# g" I% A& R) F
if(a<i>.indexOf(".")==0){: H1 \+ x D3 W1 \+ r' q
$push($name(a<i>.replace(".","")));
- C- `% z- L/ }2 z- i }$ t' s5 z% X! J$ P
if(a<i>.indexOf("@")==0 ){ V3 [; \8 T8 _3 @1 u+ X
$push($tagname(a<i>.replace("@","")));9 {1 e/ l9 {3 e+ j& p* l
}' a$ T) O; [0 v" @! Z$ c
if(a<i>.indexOf("*")==0){
' P6 {# P. p' O7 s t6 c $p= a<i>;
5 ^( Z' w2 W7 g# H* `9 C if($p.indexOf(".")< 0){6 ]" Q) V$ |) @8 \6 R
$p = $p.replace("parent","parentNode")' K% z$ k$ a, B
}. u, G2 k* f: L# g
var $p ="u."+$p.replace("*","");
2 ~; ~7 e7 ^4 D while ($p.indexOf("parent.")> 0){ N _! Z" w( T/ A7 y( m5 u" B
$p = $p.replace("parent.","parentNode.")& C( H5 [, \; G: X# W( S( q
}
4 R9 a. @5 B# J( y0 \, l, r# A ~ while ($p.indexOf("child{")> 0){5 G& B8 x' _, r8 @1 k0 D; q
$p = $p.replace("child{","childNodes[").replace("}","]")
! H9 p# i8 S; P }
# h) r" _2 N4 K5 j! O4 J" P8 e! Z j o.push(eval($p));( l: c3 x/ o- Q2 W5 s/ d
}
+ v" D* v% U" w: Y* X( V if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
4 b6 `. V# @- N# {/ L8 Y o.push(eval(a<i>));
* K+ w$ G' Q# f! p3 J9 ]. v }" ]+ S* W& F- K) k* U% d
}
6 V% G/ N9 t) A& g3 O& N1 r if(g!=null){
3 r8 B" P7 i W7 @& S) S o.push(g);g=null
5 O W8 o4 b8 G, i Y) N+ C }
( _3 O8 j- D+ o1 A' ]8 ~ }) Y' ~0 |: R' M# X: P& L
}
8 i T3 V/ \& j& R
g& G5 }) T8 c: e# J5 l x $o(a,o,c);# w. z1 @5 W3 @4 y( ?- ^
, e, d: |" @. i+ w4 S( E. Z
for(var i = 0;i<o.length;i++){) O" [; y& N! W, Y! `
for(var j=0;j<c.length;j++){
1 A+ @0 g3 a2 A; d( U8 X u = o<i>;eval($format(c[j]));
8 F% ^# q+ H' I' r }1 j5 g* _ g, }7 m8 P+ l$ ]7 p' t
}0 X9 f5 |$ t; h, k" Q- r
/ R2 t; m9 ?7 Y; v3 \2 D4 t) t
if(o.length == 0){4 w5 L! {5 p1 s" G/ p% ^0 A% Y) g
for(var i=0;i<c.length;i++){6 V% H1 g5 N+ |# C; M/ ~! `
eval($format(c<i>));
9 q* R9 H/ c7 R, B7 C( n }: }5 V+ ?+ O% i# k& f4 ^: |
}
8 R2 a% h. A7 h z W 6 w4 M* P, }' v0 K% W* H! e
if(r!=null){' W0 l4 } o0 E% Q2 R1 B* Q
return r;
- P$ c8 Y+ q* }3 q/ @ }" H. t" w; G3 s9 g7 @
3 P1 Y8 s$ O' L6 f
if(o.length==1){. V% W: u- L5 j8 d P* J
return o[0];% S n, Z3 Q6 h8 \
}
5 r9 `6 w: @1 S5 l9 l, I" C4 I7 O else{
$ `9 }8 u, X. N$ D( L2 K7 _ z return o
7 x6 D) m8 _& V- }5 {* N }
; P4 R! a8 q* f4 N# q2 w
% h8 [0 H1 U- c" w }0 r' u$ ?& F: L6 a3 a. B
var lrc =$("#lrc;show()").innerHTML.split("[");
/ t6 ~1 f* }9 _/ U7 W4 ~if(lrc.length>5){
6 o0 X: C4 J+ w B! l rvar array = new Array();
# K2 t# U' c% J, b% S0 tfor (var i=0;i<lrc.length ;i++ )
0 q3 [0 A) j% c3 Z. r' f{: u) T) W$ \; }% q9 c
var g = new Object();( L6 E' P3 D' X3 F9 I: h) z8 H* x
t= lrc<i>.split("]");
( o7 T# H9 T. r! A# N# }4 g g.time = getTime(t[0]);
: ^ S4 {0 ]$ W O' {4 v4 S! r1 _ if(isNaN(g.time))0 c* E! k, b) o" E: G2 E* `
continue;. C9 R) b$ D, G _
g.c = t[1];' ^9 ~& r5 m* y% u" H# V5 D$ F
if(g.c == "")+ Y# ]9 I5 Y" I! e' F
g.c = getNext(i);
9 f' B' X; S7 } Q& w# W0 m; Q- B array.push(g);
* q' j: j/ L, `1 |2 d+ h; Z0 [}9 ~8 J) s) a8 g( D9 C
array.sort(function(x, y) {
, i: o7 m" s, D: Q if (x.time>y.time) / J) s8 O6 X" L: y9 b# z+ N5 z6 H4 }$ F5 ?
return 1;
0 x/ y6 G% T7 k+ f$ { else if(x.time<y.time)3 h0 X4 @% k0 [0 R# H* e$ Z* P3 ~! k4 Y! z
return -1;3 t' u7 o/ b: }2 e
else
6 Q, o8 P6 H: W/ e" m4 J) K5 X* |$ e return 0; c; H3 \2 F! K" D- H' G
}
`8 |9 i/ {% ~3 T);; R( h( X7 T+ [' `2 Y
for(var i = 0;i<array.length;i++)
O; V, B/ C0 ?3 h{
$ I/ b6 u0 t/ D9 k var g = array<i>;
# t% ~. \9 o! z' n7 S if(!g.c){
& E! x; x# i8 L g.c="";
/ s+ ?" ]; W7 C }
& c5 D9 q; B# y# a $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";5 X& `5 O) r, G2 e
}
& m; c9 ~/ u; {. Rvar time = setInterval("lrcList()",500);
, b2 L8 P1 l7 h' b8 k* N}else{
1 _( O; g0 r& [1 o# p$ n" k( | $("#list").innerHTML=$("#lrc").innerHTML;+ Q* k5 o3 Q; V/ d- P
}
& g2 `$ Y5 u% \, L* T+ b# L9 L- Zfunction getNext(i)4 p, d, J0 h3 D
{
; Z4 Y/ y, {5 @. c var result = "";
4 a3 u9 N: \+ q) _9 f& n( |; D var i = i+1;
; _* @* v( w* M$ S4 K1 `$ f' t t = lrc<i>.split("]");
( g) x9 U2 u% x) _# } if(t[1]=="")9 ^. O4 U$ n# D
result = getNext(i);
) z4 Z' j4 x7 l" `# N R' h/ A else
3 R+ z( s7 o) t- t7 i2 m, n result = t[1]
* s# x; S( i% [+ x g3 F return result;
2 M( h, k' i0 w( r1 g}, m! C1 R, Z" g; ^/ E
$ @' y9 `( Z. S! Q' `function getTime(str)
7 N0 p! f* a( F! {+ Y, M{8 c# Z! s7 C. V' Q L7 z
var time =0;* E2 h+ W! W8 S4 }
var ta = str.split(":");
( \; G7 r* b5 }, b s if(ta.length<2). E( I9 s/ i. F( Q
return time;
6 {; `. J, x3 @# F; C# E: `
, Y3 X4 O" P7 \2 N if(ta[1].indexOf(".")>0){
5 _* {, z' {* _3 h( V. x8 U; K var tb = ta[1].split(".");: C$ U2 c! _0 t- Q& M d$ g: [
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
' t" V4 Z4 G' O }
( ?) `# J& j5 X* ~% n! w else2 p8 f" r( v0 Z' n5 ?" U
time =ta[0]*60*1000+ta[1]*1000;3 ~7 H5 L! ^' ?6 B$ y- V
return time;
- ?2 M3 \* y8 L}- K8 m+ I! P: G
var preTime = 0;
: ]* g8 o+ _6 A3 w7 F3 h9 lvar nextTime = 0;, w% q! s; q9 p/ u. O5 C1 B9 H2 K
var currIndex =0;
. P) M# Z) z: m3 Jfunction lrcList(){
* b9 {; `! \" U2 ~& o' x \3 g var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;4 l) J* I' R: v; e, F5 z
s = s*1000;
8 u ^, v' V3 d! u) X ~ if(s==0){
6 W& j7 q) n, D8 e1 |! r currIndex =0;; ?& K1 G8 W4 g; ?' U5 r/ C& A, I
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
" ^* \2 z# c. s3 C5 P1 N- d for(var i=0;i<array.length;i++){
* [* N4 T! Z; Q) K5 c3 G document.getElementById("lrc"+i).style.color=colorNormal;
8 e* I, M" |* A) T- l* o, } }
$ a1 {' m1 k9 u5 y) F return;
' I' v2 i+ t8 M3 F }
0 Y- h5 Y0 L, T3 o3 w if(s>0&&currIndex<array.length-1) t) d+ W. {; l# J" g0 y
{
1 _- L1 o' F) U preTime = array[currIndex].time;; v: H1 z9 S+ A" J6 ?
" w: I8 H5 R( {8 f9 a nextTime = array[currIndex+1].time;
# S! M+ `) C9 q- E# Q( r/ @ 2 ]% J* I% b- N' f
if(s>=preTime&&s<nextTime){
# Q9 u/ G2 k2 c& p; Z }6 B+ {' n- [3 `3 |: Y0 i
else if(s>=nextTime). |4 E* c( j6 r0 A/ H; @% K( a: t3 e
{
1 Q5 b2 z: }1 m1 |/ b& [ document.getElementById("lrc"+currIndex).style.color=colorPasted;9 p" h% e8 N' P6 n* i+ I
currIndex++;
. F. r& ^+ h) W $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;* j" b: I2 T* v' T2 x
document.getElementById("lrc"+currIndex).style.color=colorPlaying;/ j: Y7 u4 d; A' ]+ V( X! v# ]
lrcList();+ {& i+ B2 j" S0 t7 o; x/ q
}" d4 x- Y K4 q: n- w
else{
I. X; c" @7 B8 | w document.getElementById("lrc"+currIndex).style.color=colorNormal;$ o7 R* t9 G& s1 G5 R/ Z
currIndex--;
& u/ [, r+ x8 s8 Z+ p" y8 R $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 O0 @! V. \5 h, h3 y. u document.getElementById("lrc"+currIndex).style.color=colorPlaying;+ ]- p' g6 i4 }3 W% E6 g- _
lrcList();- e2 b6 V2 A V2 f
} . t; g: q& i8 V6 F
}
: E- U. y. L! E9 ^( E0 N else% A9 a" m9 Q4 ~ L
{
2 W! v1 I( i8 B; W9 K7 Z if(s<array[array.length-1].time){6 h8 d0 w, o! n5 M( `, V
currIndex = 0; V$ r* J2 Q( u
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; v2 o6 e" ]/ Y( g1 N
for(var i=0;i<array.length;i++){
% B7 r7 L2 {% \) y- U document.getElementById("lrc"+i).style.color=colorNormal;2 v; v1 T _/ Y8 ~. U& t, F
}
* w# n# h! ], S" h! @ lrcList();
4 @3 }$ M4 w6 a' A. d+ W }
, e* l6 `: V' S1 c }
+ s7 X$ \ Y4 ]/ g}
- \" ^7 ^" g' v- c1 n( Y* U) c</SCRIPT>9 Z1 U5 A n0 z8 `7 i
</DIV></DIV>
6 J* C9 O# ^8 v: v' v: c* k" V1 o* k& a) c3 }4 `
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|